GtkApplicationWindow: give up on handling dispose
authorRyan Lortie <desrt@desrt.ca>
Tue, 14 Jan 2014 15:33:13 +0000 (10:33 -0500)
committerRyan Lortie <desrt@desrt.ca>
Tue, 14 Jan 2014 15:41:35 +0000 (10:41 -0500)
commitbc3867eb8512406223e2291168b9c2042b7350cc
treedb5dbadb79f0a3829edd9624b81b7e30aea490f3
parent587f993444cb2d733673e32291402f4289ec04da
GtkApplicationWindow: give up on handling dispose

Stop trying to deal with "theoretical possibilities".

We can't possibly continue to be a faithful GActionGroup implementation
across dispose because dispose has a side effect of removing everyone's
signal handlers.

The code that we ran after the dispose chainup to do all of the fancy
signal emulation was therefore dead.  The test that aimed to verify this
was buggy itself due to an uninitialised variable, so really, it never
worked at all.

We keep the re-ordering of the chainup from the original commit to avoid having
trouble with GtkActionMuxer and keep the checks in place that will prevent an
outright segfault in the case that someone else tries to use the interface
post-dispose.

https://bugzilla.gnome.org/show_bug.cgi?id=722189
gtk/gtkapplicationwindow.c
testsuite/gtk/Makefile.am
testsuite/gtk/gtkapplicationwindow.c [deleted file]